package com.bupt.film.entity;

import javax.persistence.*;

@Table(name = "halls")
public class Hall {
    @Id
    private Integer id;

    /**
     * hall_<redis自增主键>
     */
    @Column(name = "hall_id")
    private String hallId;

    private String name;

    @Column(name = "seat_num")
    private Integer seatNum;

    private String description;

    @Column(name = "ticket_price")
    private Double ticketPrice;

    /**
     * 数组格式存放该放映厅放映的电影
     */
    @Column(name = "film_ids")
    private String filmIds;

    @Column(name = "film_time_periods")
    private String filmTimePeriods;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取hall_<redis自增主键>
     *
     * @return hall_id - hall_<redis自增主键>
     */
    public String getHallId() {
        return hallId;
    }

    /**
     * 设置hall_<redis自增主键>
     *
     * @param hallId hall_<redis自增主键>
     */
    public void setHallId(String hallId) {
        this.hallId = hallId;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return seat_num
     */
    public Integer getSeatNum() {
        return seatNum;
    }

    /**
     * @param seatNum
     */
    public void setSeatNum(Integer seatNum) {
        this.seatNum = seatNum;
    }

    /**
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return ticket_price
     */
    public Double getTicketPrice() {
        return ticketPrice;
    }

    /**
     * @param ticketPrice
     */
    public void setTicketPrice(Double ticketPrice) {
        this.ticketPrice = ticketPrice;
    }

    /**
     * 获取数组格式存放该放映厅放映的电影
     *
     * @return film_ids - 数组格式存放该放映厅放映的电影
     */
    public String getFilmIds() {
        return filmIds;
    }

    /**
     * 设置数组格式存放该放映厅放映的电影
     *
     * @param filmIds 数组格式存放该放映厅放映的电影
     */
    public void setFilmIds(String filmIds) {
        this.filmIds = filmIds;
    }

    /**
     * @return film_time_periods
     */
    public String getFilmTimePeriods() {
        return filmTimePeriods;
    }

    /**
     * @param filmTimePeriods
     */
    public void setFilmTimePeriods(String filmTimePeriods) {
        this.filmTimePeriods = filmTimePeriods;
    }
}